Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickTime Components /
Chapter 5 - Sequence Grabber Components / Sequence Grabber Components Reference
Sequence Grabber Component Functions / Configuring Sequence Grabber Components


SGGetIndChannel

The SGGetIndChannel function allows you to collect information about all of the channel components currently in use by a sequence grabber component.

pascal ComponentResult SGGetIndChannel (SeqGrabComponent s, 
                                        short index, 
                                        SGChannel *ref,
                                        OSType *chanType);
s
Specifies the component instance that identifies your connection to the sequence grabber component. You obtain this value from the Component Manager's OpenDefaultComponent or OpenComponent function.
index
Specifies an index value. This value identifies the channel to be queried. The first channel has an index value of 1.
ref
Contains a pointer to a field to receive a value identifying your connection to the channel. If you do not want to receive this information, set this parameter to nil.
chanType
Contains a pointer to a field to receive the channel's subtype value. This value indicates the media type supported by the channel component. The following values are valid:
VideoMediaType
Video channel
SoundMediaType
Sound channel
If you do not want to receive this information, set this parameter to nil.
DESCRIPTION
You may use the SGGetIndChannel function to retrieve information about each of the channel components currently in use by a sequence grabber component. You identify
the channel in which you are interested by specifying an index value. These index values start at 1 and increase sequentially; each channel has its own index value.

RESULT CODE
paramErr-50Component not found

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help